﻿<%@ Page Language="C#" MasterPageFile="~/master/admin.master" AutoEventWireup="true" CodeFile="newsletter-template-details.aspx.cs" Inherits="admin_newsletter_template_details" %>
<%@ Register TagPrefix="FCKeditorV2" Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMiddleContent" Runat="Server">

    <asp:ValidationSummary ID="valSummary" runat="server" ShowSummary="false" 
    HeaderText="you have missed the following items:" 
    EnableClientScript="true" 
    ShowMessageBox="true" 
    />

    <asp:Panel ID="panalForm" runat="server" DefaultButton="btnSave" >
    <table width="100%">
    <tr><td height="30px"></td></tr>
    <tr>
        <td align="center">
            <asp:Label ID="lblCRUDMessege" runat="server" Text="" ></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <div class="adminPageContent" style="width:800px">
            <table cellpadding="0" cellspacing="5" width="100%" border="0" >
            <tr><td colspan="2"><h4>Newsletter Template</h4></td></tr>
            <tr>
                <td align="right" colspan="2">
                    <asp:Button ID="btnSave2" Width="100" runat="server" Text="Save" onclick="btnSave_Click" />
                </td>
            </tr>
            <tr>
                <td width="100px" >Template Subject</td>
                <td align="left" >
                    <asp:TextBox ID="txtTemplateId" runat="server" Width="250" Visible="false"></asp:TextBox>
                    <asp:TextBox ID="txtTemplateName" runat="server" Width="250" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvTemplateName" runat="server" 
                        ControlToValidate="txtTemplateName" Display="None" 
                        ErrorMessage="template name" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="left">Template Body</td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                <div>
                    <FCKeditorV2:FCKeditor ID="fckeTemplateDesign" runat="server" BasePath="~/thirdparty/fckeditor/"
                        Width="900px" Height="250px">
                    </FCKeditorV2:FCKeditor>
                    
                    
                    <%--<asp:RequiredFieldValidator ID="rfvTemplateDesign" Display="None" runat="server" 
                        ControlToValidate="fckeTemplateDesign" ErrorMessage="template design" ></asp:RequiredFieldValidator>--%>                        
                </div>
                </td>
            </tr>
            <tr>
                <td align="right" colspan="2">
                    <asp:Button ID="btnSave" runat="server" Width="100" Text="Save" onclick="btnSave_Click" />
                </td>
            </tr>
            </table>
            </div>
        </td>
    </tr>
    <tr><td height="30px"></td></tr>
    </table>
    </asp:Panel>

</asp:Content>

